HorizontalAlignment

The horizontal alignment of a text block.

The engine reads these values by name, not by position. The order here is the display order, and it does not match the engine's numeric order.

Entries

Link copied to clipboard

Align text to the left.

Link copied to clipboard

Align text to the center.

Link copied to clipboard

Align text to the right.

Link copied to clipboard

The gaps between words are widened until each line fills the block. The last line of a paragraph keeps its natural width and aligns like Auto. A line with no gap to widen, such as CJK text, keeps its natural width too.

Link copied to clipboard

Match alignment to the text direction.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.